/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.shared.dto;

import java.io.Serializable;

/**
 *
 * @author glenn
 */
public class BoatDto implements Serializable {

    private Integer id = null;
    private String name = "";
    private String description = "< Pas de description >";
    private Float latitude = null;
    private Float longitude = null;
    private BoatImageDto boatImage = new BoatImageDto();
    private CategoryDto category = new CategoryDto();

    public BoatDto() {
    }

    public BoatDto(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Float getLatitude() {
        return latitude;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }

    public Float getLongitude() {
        return longitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }

    public BoatImageDto getBoatImage() {
        return boatImage;
    }

    public void setBoatImage(BoatImageDto boatImage) {
        this.boatImage = boatImage;
    }

    public void setCategory(CategoryDto category) {
        this.category = category;
    }

    public CategoryDto getCategory() {
        return this.category;
    }
}
